package com.itheima.service;

import com.itheima.pojo.Member;

import java.util.List;
import java.util.Map;

public interface MemberService {
    public Member findByTelephone(String telephone);
    public void add(Member member);
    public List<Integer> findMemberCountByMonths(List<String> months);
    //获取会员性别
    List<Map> getMemberSex();
    //获取会员年龄
//    List<Integer> getMemberAge(String date);
    List<Map<String,Object>> getMemberAge(String date);
}
